/*************************************************************************
    > File Name: face_track_task.h
    > Author: fanzhihui
    > Mail: 953106194@qq.com 
    > Created Time: 2019年06月28日 星期五 11时02分54秒
 ************************************************************************/
#ifndef _FTRACK_FACE_TRACK_TASK_H_
#define _FTRACK_FACE_TRACK_TASK_H_
#include "thread/task.h"
#include<iostream>
#include <vector>
#include <string>
#include "thread/tssproxy.h"
#include "redis/redis.h"
#include "tracked_face_info.h"

using namespace std;
using namespace thread;


class FaceTrackTask : public Task
{

public:
	FaceTrackTask(const string& src,const vector<tracked_face_t>& faces):
		src_img(src),
		tracked_faces(faces)

	{
	
	}
	
	void Execute(TaskThread* thread_context,void *app_context);
	
	void Release(){
		delete this;
	}


private:
	string src_img;
	vector<tracked_face_t> tracked_faces;

};


#endif


